package com.gz.spring.aop.aspectj;

import org.springframework.stereotype.Component;

@Component
public class Func implements Operation {
    @Override
    public float getSum(float a, float b) {
        System.out.println("内部方法打印result="+(a+b));
        return a+b;
    }

    @Override
    public float getSub(float a, float b) {
        System.out.println("内部方法打印result="+(a-b));
        return a-b;
    }
}
